package com.ucode.model.cgms.form;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema.RequiredMode;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;


@Schema(description = "陪玩俱乐部社区系统 - 陪玩订单修改备注Form")
@Data
@EqualsAndHashCode
public class CgmsCompanionOrderUpdateRemarkForm {

    @Schema(description = "订单号", requiredMode = RequiredMode.REQUIRED)
    @NotNull(message = "订单号不能为空")
    private Long id;

    @Schema(description = "订单备注", requiredMode = RequiredMode.REQUIRED)
    @NotBlank(message = "订单备注不能为空")
    @Size(max = 255,message = "订单备注最大 255 个字符")
    private String remark;

}
